package com.zxc.model;

import java.util.List;

public class Pesticide {
    public Pesticide(){
    }
    private List<Page> pageList;
    //农药仓库信息表相关
    private String id;
    private String pesticideId;
    private Float pesticideNum;
    private Float pesticidePrice;
    private String pesticideProducers;
    private String pesticideProducersPhone;
    //当对象为用户仓库时，新增2个属性：用户的主键，主仓库的主键
    private String  userId;
    private String rootId;

    //农药表相关
    private String pesticideName;
    private String composition;
    private String efficacy;
    private String proportion;
    private String imageUrl;

    public Pesticide(List<Page> pageList, String id, String pesticideId, Float pesticideNum, Float pesticidePrice, String pesticideProducers, String pesticideProducersPhone, String userId, String rootId, String pesticideName, String composition, String efficacy, String proportion, String imageUrl) {
        this.pageList = pageList;
        this.id = id;
        this.pesticideId = pesticideId;
        this.pesticideNum = pesticideNum;
        this.pesticidePrice = pesticidePrice;
        this.pesticideProducers = pesticideProducers;
        this.pesticideProducersPhone = pesticideProducersPhone;
        this.userId = userId;
        this.rootId = rootId;
        this.pesticideName = pesticideName;
        this.composition = composition;
        this.efficacy = efficacy;
        this.proportion = proportion;
        this.imageUrl = imageUrl;
    }

    public List<Page> getPageList() {
        return pageList;
    }

    public void setPageList(List<Page> pageList) {
        this.pageList = pageList;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPesticideId() {
        return pesticideId;
    }

    public void setPesticideId(String pesticideId) {
        this.pesticideId = pesticideId;
    }

    public Float getPesticideNum() {
        return pesticideNum;
    }

    public void setPesticideNum(Float pesticideNum) {
        this.pesticideNum = pesticideNum;
    }

    public Float getPesticidePrice() {
        return pesticidePrice;
    }

    public void setPesticidePrice(Float pesticidePrice) {
        this.pesticidePrice = pesticidePrice;
    }

    public String getPesticideProducers() {
        return pesticideProducers;
    }

    public void setPesticideProducers(String pesticideProducers) {
        this.pesticideProducers = pesticideProducers;
    }

    public String getPesticideProducersPhone() {
        return pesticideProducersPhone;
    }

    public void setPesticideProducersPhone(String pesticideProducersPhone) {
        this.pesticideProducersPhone = pesticideProducersPhone;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRootId() {
        return rootId;
    }

    public void setRootId(String rootId) {
        this.rootId = rootId;
    }

    public String getPesticideName() {
        return pesticideName;
    }

    public void setPesticideName(String pesticideName) {
        this.pesticideName = pesticideName;
    }

    public String getComposition() {
        return composition;
    }

    public void setComposition(String composition) {
        this.composition = composition;
    }

    public String getEfficacy() {
        return efficacy;
    }

    public void setEfficacy(String efficacy) {
        this.efficacy = efficacy;
    }

    public String getProportion() {
        return proportion;
    }

    public void setProportion(String proportion) {
        this.proportion = proportion;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }
}
